/**
 *    \file        AKSoundController.h
 *
 *    \section  desc_sec Description
 *    Description 
 *
 *
 *  \if copyright
 *    Copyright:    (c) 2008 FileMaker, Inc. All rights reserved.
 *
 *    FILEMAKER CONFIDENTIAL
 *    This file includes unpublished proprietary source code of FileMaker, Inc.
 *    The copyright notice above does not evidence any actual or intended publication
 *    of such source code.
 *  \endif
 *    
 *  \section hist_sec Change History:
 *
 *    -     7/28/08        BC        Created this file
 *
 *  <hr>
 * \addtogroup AnimalKingdom
 */

@interface AKSoundController : NSObject {
	NSMutableSet *foregroundSounds;
	NSMutableSet *backgroundSounds;
	BOOL allowMultipleForegroundSounds;
}

- (BOOL)allowMultipleForegroundSounds;
- (void)setAllowMultipleForegroundSounds:(BOOL)flag;

- (unsigned int)numberOfSounds;
- (unsigned int)numberOfForegroundSounds;
- (unsigned int)numberOfBackgroundSounds;

- (void)playSound:(NSSound*)aSound continuously:(BOOL)continuously inBackground:(BOOL)inBackground;
- (void)stopSound:(NSSound*)aSound;
- (void)stopAllSounds;
- (void)stopAllForegroundSounds;
- (void)stopAllBackgroundSounds;

@end
